package cn.zhentao.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan({"cn.zhentao.service"})
//配置JDBC参数
@PropertySource("classpath:jdbc.properties")
//引入JDBC配置类，MyBatis配置类
@Import({MyBatisConfig.class, JdbcConfig.class})
public class SpringConfig {
}
